package com.gzwh.v1.sysapi.entity.member;

import org.hibernate.validator.constraints.NotEmpty;

import javax.persistence.Table;

@Table(name = "sf_member")
public class SFMemberEntity {

    private Long memberId;
    @NotEmpty(message = "用户名不能为空")
    private String name;
    @NotEmpty(message = "密码不能为空")
    private String password;

    private String uuid;

    private String regTime;

    private String endTime;

    private String login_time;

    private int isLock;

    private String phone;

    private String address;
    @NotEmpty(message = "邮箱不能为空")
    private String mail;

    private int certTypeId;

    private String certNo;

    private String memberReserve1;

    private String memberReserve2;

    private String memberReserve3;

    private String memberReserve4;

    private String memberReserve5;

    private String memberReserve6;

    private String memberReserve7;

    private String memberReserve8;

    private int appStatus;


    public int getAppStatus() {
        return appStatus;
    }

    public void setAppStatus(int appStatus) {
        this.appStatus = appStatus;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRegTime() {
        return regTime;
    }

    public void setRegTime(String regTime) {
        this.regTime = regTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getLogin_time() {
        return login_time;
    }

    public void setLogin_time(String login_time) {
        this.login_time = login_time;
    }

    public int getIsLock() {
        return isLock;
    }

    public void setIsLock(int isLock) {
        this.isLock = isLock;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public int getCertTypeId() {
        return certTypeId;
    }

    public void setCertTypeId(int certTypeId) {
        this.certTypeId = certTypeId;
    }

    public String getCertNo() {
        return certNo;
    }

    public void setCertNo(String certNo) {
        this.certNo = certNo;
    }

    public String getMemberReserve1() {
        return memberReserve1;
    }

    public void setMemberReserve1(String memberReserve1) {
        this.memberReserve1 = memberReserve1;
    }

    public String getMemberReserve2() {
        return memberReserve2;
    }

    public void setMemberReserve2(String memberReserve2) {
        this.memberReserve2 = memberReserve2;
    }

    public String getMemberReserve3() {
        return memberReserve3;
    }

    public void setMemberReserve3(String memberReserve3) {
        this.memberReserve3 = memberReserve3;
    }

    public String getMemberReserve4() {
        return memberReserve4;
    }

    public void setMemberReserve4(String memberReserve4) {
        this.memberReserve4 = memberReserve4;
    }

    public String getMemberReserve5() {
        return memberReserve5;
    }

    public void setMemberReserve5(String memberReserve5) {
        this.memberReserve5 = memberReserve5;
    }

    public String getMemberReserve6() {
        return memberReserve6;
    }

    public void setMemberReserve6(String memberReserve6) {
        this.memberReserve6 = memberReserve6;
    }

    public String getMemberReserve7() {
        return memberReserve7;
    }

    public void setMemberReserve7(String memberReserve7) {
        this.memberReserve7 = memberReserve7;
    }

    public String getMemberReserve8() {
        return memberReserve8;
    }

    public void setMemberReserve8(String memberReserve8) {
        this.memberReserve8 = memberReserve8;
    }


    @Override
    public String toString() {
        return "SFMemberEntity{" +
                "memberId=" + memberId +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", uuid='" + uuid + '\'' +
                ", regTime='" + regTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", login_time='" + login_time + '\'' +
                ", isLock=" + isLock +
                ", phone='" + phone + '\'' +
                ", address='" + address + '\'' +
                ", mail='" + mail + '\'' +
                ", certTypeId=" + certTypeId +
                ", certNo='" + certNo + '\'' +
                ", memberReserve1='" + memberReserve1 + '\'' +
                ", memberReserve2='" + memberReserve2 + '\'' +
                ", memberReserve3='" + memberReserve3 + '\'' +
                ", memberReserve4='" + memberReserve4 + '\'' +
                ", memberReserve5='" + memberReserve5 + '\'' +
                ", memberReserve6='" + memberReserve6 + '\'' +
                ", memberReserve7='" + memberReserve7 + '\'' +
                ", memberReserve8='" + memberReserve8 + '\'' +
                '}';
    }
}
